-
Notifications
You must be signed in to change notification settings - Fork 558
pnpm dedupe #25564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnpm dedupe #25564
Conversation
…to pnpm-dedupe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR performs dependency deduplication across packages using pnpm dedupe and updates Octokit dependencies to fix compilation errors that occurred after the deduplication process.
- Runs
pnpm dedupeacross all packages except the "server" release group (handled separately due to issues) - Updates @octokit/core from ^5.2.0 to ^7.0.4 and @octokit/rest from ^21.0.2 to ^22.0.0 to resolve compile errors
- Adds a new patch file for @microsoft/[email protected] to address validation and import emission issues
Reviewed Changes
Copilot reviewed 2 out of 12 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| server/routerlicious/patches/@[email protected] | New patch file fixing API extractor validation and import emission logic |
| build-tools/packages/build-cli/package.json | Updates Octokit dependencies to latest major versions |
Files not reviewed (10)
- build-tools/pnpm-lock.yaml: Language not supported
- common/build/eslint-config-fluid/pnpm-lock.yaml: Language not supported
- common/lib/common-utils/pnpm-lock.yaml: Language not supported
- common/lib/protocol-definitions/pnpm-lock.yaml: Language not supported
- pnpm-lock.yaml: Language not supported
- server/gitrest/pnpm-lock.yaml: Language not supported
- server/historian/pnpm-lock.yaml: Language not supported
- tools/benchmark/pnpm-lock.yaml: Language not supported
- tools/getkeys/pnpm-lock.yaml: Language not supported
- tools/test-tools/pnpm-lock.yaml: Language not supported
| "@octokit/core": "^7.0.4", | ||
| "@octokit/rest": "^22.0.0", |
Copilot
AI
Sep 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Major version updates for @octokit/core (5→7) and @octokit/rest (21→22) may introduce breaking changes. Consider reviewing the changelog and ensuring compatibility with existing usage patterns in the codebase.
| "@octokit/core": "^7.0.4", | |
| "@octokit/rest": "^22.0.0", | |
| "@octokit/core": "^5.0.0", | |
| "@octokit/rest": "^21.0.0", |
Description
pnpm dedupe in all packages.
This can almost be done with:
pnpm exec flub exec "pnpm dedupe --ignore-scripts" --releaseGroupRoot=all --packagesThe "server" release group had several issues (see #25559) so it has been reverted to be handled seperatly.
Also updates @octokit/core and @octokit/rest to the latest versions to fix a compile error that happened after dedupe.
Reviewer Guidance
The review process is outlined on this wiki page.